Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Customization type table
The
ryc_customization_typetable defines the different categories of customization that are supported. The Repository database comes with some types built in:UIType,Language,LoginCompany,System,User, andUserCategory. The type is used as a grouping mechanism for specific values or result codes that identify the end user’s environment. You can populate these with values meaningful to your application environment, and you can also define any additional customization types your application might need. The table includes a field where you can store the name of a procedure to call to determine the value for the current user for a type. This is effectively the result code that allows the framework to identify the right customizations to apply.The table contains these fields:
customization_type_code— ThisCHARACTERfield is a unique code to identify the type, such asUIType.customization_type_desc— ThisCHARACTERfield is a description of the code, and must also be unique within the table.api_name— ThisCHARACTERfield holds the name of a function to invoke that will return the value for the type for the current session. This might be a UI type, a user ID, a Language name, or whatever is appropriate to the type. The function can, of course, do whatever work is necessary to identify the correct value to return based on the type. This return value must map either directly to one of the result codes in thecustomization_resulttable or to a value in the customization table that in turn can be mapped to a result code.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |